<extend name="Layout:layout_content" />
<block name="body_main">
    <div class="grid-parent xsui-page-header">
        <div class="grid-60 mobile-grid-100 grid-parent">&nbsp;</div>
        <div class="grid-40 mobile-grid-100 grid-parent xsui-text-right">
            <a href="#" class="xsui-btn ui-state-default xsui-lnk-refresh"><i class="fa fa-refresh"></i>刷新</a>
            <span class="xsui-input-group">
                <form method="get">
                    <input type="text" name="search_key" value="{$search.search_key}" placeholder="编号/姓名/手机号码" />
                    <button type="submit" class="ui-state-default"><i class="fa fa-search"></i>搜索</button><button id="btn-search-dialog" class="ui-state-default xsui-icon-only" title="高级搜索"><i class="fa fa-gear"></i></button>
                </form>
            </span>
        </div>
        <div id="search-dialog" class="xsui-hidden" style="width:340px;">
            <form method="get" class="xsui-form">
                <table>
                </table>
                <button type="submit">保存</button>
            </form>
        </div>
    </div>
    <div id="grid-container">
        {$content}
    </div>
</block>
<block name="body_after">
    <script type="text/javascript">
        $(function () {
            // 状态显示处理 2016-1-18 SoChishun Added.
            // 如：<td class="status"><a href="AddonU('change_status','id='.$vo['id'].'&status=varstatus')" title="点击隐藏" data-value="$vo.status" class="xsui-success"><i class="fa fa-check fa-fw"></i></a></td>
            $('td.shared-status a').togglelink({onTip: '分享录音', offTip: '取消分享', onValue: 'Y', offValue: 'N'});
        })
    </script>
</block>